import request, { type BasePageResponse } from '@/utils/request'
import type {School, User} from "@/api/book";

export interface QuerySchoolParam extends PageParam{
  name: string
  province: string
  city: string
}
export interface PageParam {
  pageNum: number
  pageSize: number
}
export const getSchoolList = (data: QuerySchoolParam) => {
  return request<QuerySchoolParam,null,BasePageResponse<School>>('/school/pageList', 'GET', {data: data})
}